import React from "react";
// import "./index.scss";
import "./test.less";
// import { Button, Modal, Input, InputNumber } from "antd";
import { Select } from "antd";
// import { Select } from "@liuqiang_90/test";
import a from "./a";
import b from "./b";
const Option = Select.Option;

const Home = (props) => {
  let list = [1, 2, 3, 4, 5, 6];
  console.log("props", props);
  const aClick = () => {
    Modal.confirm({
      title: "测试",
      content: "测试内容",
    });
    a();
  }
  const handleChange = () => {}

  return (
    <div className="content">
      <div>
        <Select defaultValue="lucy" style={{ width: 120 }} onChange={handleChange}>
          <Option value="jack">Jack</Option>
          <Option value="lucy">Lucy</Option>
          <Option value="disabled" disabled>
            Disabled
          </Option>
          <Option value="Yiminghe">yiminghe</Option>
        </Select>
        <Select defaultValue="lucy" style={{ width: 120 }} disabled>
          <Option value="lucy">Lucy</Option>
        </Select>
        <Select defaultValue="lucy" style={{ width: 120 }} loading>
          <Option value="lucy">Lucy</Option>
        </Select>
        <Select defaultValue="lucy" style={{ width: 120 }} allowClear>
          <Option value="lucy">Lucy</Option>
        </Select>
      </div>
      {/* <div className="list">
        {
          list.map((v, k) => {
            return <div key={k} className="item">
              <i className="icon"></i>
            </div>
          })
        }
      </div>
      <form method="POST" action="/api/form">
        <p>姓名</p>
        <Input name="userName" placeholder="请输入姓名" />
        <p>年龄</p>
        <InputNumber name="age" placeholder="请输入年龄" />
        <button type="submit">提交</button>
      </form>
      <Button onClick={aClick}>文件</Button>
      <Button onClick={b}>文件</Button> */}
    </div>
  )
}

export default Home;